package com.yuandian.management.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuandian.api.management.entity.ConfAlarmTemplate;
import com.yuandian.bpm.common.data.datascope.BpmBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 告警模板表-Mapper接口
 * @author zfsn
 * @date 2023-4-3
 */
@Mapper
public interface ConfAlarmTemplateMapper extends BpmBaseMapper<ConfAlarmTemplate> {

	/**
	 * 分页查询
	 *
	 * @param confAlarmTemplate 筛选条件
	 * @return 通用返回对象
	 */
	Page<ConfAlarmTemplate> listPage(Page<Object> objectPage, @Param("params") ConfAlarmTemplate confAlarmTemplate);


	/**
	 * 判断muban名称是否重复
	 * @param  confAlarmTemplate
	 */
	Integer checkAlarmTemplateDuplicates(@Param("params") ConfAlarmTemplate confAlarmTemplate);
}